package com.jugheadzhou.emrpoc.mapper;

import com.jugheadzhou.emrpoc.model.MedicalRecordTemplate;
import com.jugheadzhou.emrpoc.mybatis.CommonMapper;
import com.jugheadzhou.emrpoc.vo.MedicalRecordTemplateVo;

import java.util.List;

/**
 * @author jugheadzhou
 * @date 2021-10-24
 */
public interface MedicalRecordTemplateMapper extends CommonMapper<MedicalRecordTemplate> {

    /**
     * 通过模板id查询病历模板视图
     *
     * @param id
     * @return
     */
    MedicalRecordTemplateVo selectVoById(String id);

    /**
     * 通过模板id查询病历模板视图
     *
     * @return
     */
    List<MedicalRecordTemplateVo> listByPublished();

}
